// OSR b G
package org.jvcs.common;

import java.io.*;
import java.util.*;

public class G {

	public static String S_init = "init";
	public static String S_hub = "hub";
	public static String S_project = "project";
	public static String S_clone = "clone";	
	public static String S_checkout = "checkout";
	public static String S_status = "status";
	public static String S_save = "save";
	public static String S_list = "list";
	public static String S_checkin = "checkin";
	
	public static String S_push = "push";
	public static String S_pull = "pull";

	public static String S_create = "create";
	public static String S_update = "update";
	public static String S_delete = "delete";
	public static String S_user = "user";
	public static String S_group = "group";
	public static String S_set = "set";
	public static String S_unset = "unset";
	public static String S_get = "get";
	
	public static String S_import = "import";
	public static String S_export = "export";
	
	public static String S_branch = "branch";
	public static String S_mainline = "mainline";
	public static String S_tag = "tag";
	public static String S_vendor = "vendor";
	
	public static String S_incoming = "incoming";
	public static String S_outgoing = "outgoing";
	public static String S_patch = "patch";
	
	public static String S_task = "task";
	public static String S_issue = "issue";
	public static String S_release = "release";
	public static String S_build = "build";
	public static String S_close = "close";
	public static String S_dump = "dump";

	public static String S_open = "open";
	public static String S_copy = "copy";
	public static String S_duplicate = "duplicate";
	public static String S_mark = "mark";
	public static String S_grep = "grep";
	public static String S_fork = "fork";
	public static String S_pullme = "pullme";
	// 40 cmds
	
	// TODO 
	public static String S_stats = "stats";
	public static String S_finddir = "finddir";
	public static String S_findfile = "findfile";
	public static String S_findall = "findall";
	
	// 10 EXTRA
	
	public static String S_version = "version";
	public static String S_progname = "jvcs";
	
	// SERVER CLIENT COMMUNICATION RELATED
	public static String S_server_auth_success = "server_auth_success";
	public static String S_server_auth_failure = "server_auth_failure";
	
	public static String S_what_is_file_md5 = "give_file_md5";
	public static String S_file_md5 = "take_file_md5";
	
	public static String S_give_file = "give_file";
	public static String S_take_file = "take_file";
	
	public static String S_take_auth_details = "take_auth_details";
	public static String S_give_auth_details = "give_auth_details";
	
	public static String S_file_recv_pass = "file_recv_pass";
	public static String S_file_recv_fail = "file_recv_fail";
	
	public static String S_take_cmd = "take_cmd";
	public static String S_cmd_result = "cmd_result";
	
	public static String S_checkout_url = "checkout_url";
	public static String S_checkin_url = "checkin_url";
	
	public static String S_cmd_ok = "cmd_ok";
	
	public static final int BUFFER_SIZE = 65536;
	
	
	// JVCS specific file related
	public static final String JVCS_CURR = "JVCS_CURR";
	public static final String JVCS_HOME = "JVCS_HOME";
	public static final String JVCS_CONF = "JVCS_CONF";
	public static final String JVCS_BIN = "JVCS_BIN";
	public static final String GLOBAL_INI_FILE = "/conf/Global.ini";
	public static final String COMMON_INI_FILE = "/conf/Common.ini";
	public static final String LOCAL_INI_FILE = "/conf/Local.ini";
	public static final String THIS_INI_FILE = "/conf/This.ini";
	public static final int GlobalINI = 10;
	public static final int CommonINI = 20;
	public static final int LocalINI = 30;
	public static final int ThisINI = 40;
	
	public static final String PROGRAM_DISPLAY = "ProgramDisplay";
	public static final String NAME = "name";
	public static final String VERSION = "version";
	public static final String LICENSE = "license";
	public static final String DISCLAIMER = "disclaimer";
	public static final String HELP = "help";
	
	public static final String THIS = "this";
	public static final String LOCAL = "local";
	public static final String COMMON = "common";
	public static final String GLOBAL = "global";
	public static final String ALL = "all";
	
	// JVCS PROTOCOL related
	public static final String PROTOCOL = "jvcs";
	public static final String PROTOCOL_START = "://";
	public static final int DEFAULT_PORT = 2002;
	
	// SEPARATOR
	public static final String T_fs = "\\|";
	public static final String T_rfs = ",";
	
	// Some Error messages
	public static final String SAME_VALUE = "Same value.";
	
	// USAGE reference
	public static final String U_usage = "usage";
	public static final String U_create = "create";
	public static final String U_create_hub = "create.hub";
	public static final String U_create_project = "create.project";
	public static final String U_find_file = "findFile";
	public static final String U_find_dir = "findDir";
	public static final String U_find_all = "findAll";
	public static final String U_grep = "grep";
	
}
	